<template>
  <div>
    <van-nav-bar title="支付结果" left-arrow @click-left="onClickLeft" />
  </div>
</template>

<script>
export default {
  props: ["url"],
  methods: {
    onClickLeft() {
      this.$router.push(this.url);
    },
  },
};
</script>

<style lang="scss" scoped>
.van-nav-bar {
  ::v-deep .van-icon-arrow-left:before {
    color: black;
  }
}
</style>